#include <pthread.h>

#include <string>
#include <vector>

using std::vector;
using std::string;

class Network {
	public:
		void init();
		string recvFromCli();
		void sendToCli(string str);
		void acceptFromCli();
		void cleanup();
	private:
		int serverSocket;
		int numOfConnectedPlayer;

		vector<int> clientSocketVector;

		pthread_mutex_t cliSocketMutexLock;

};
